package com.pengdong.ACS.face.api.feign;

import com.pengchuang.ACS.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ACS-face")
public interface ImageFileClient {

    @GetMapping("/getStore/{imageName}")
    R getUserByUsername(@PathVariable String imageName, @RequestParam Long userId);
}